package ccnu.agile.config.oss;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * @Description: 阿里云OSS对象存储服务配置类
 * @Author: JreamY
 * @Date: 2021/9/29
 **/
@Configuration
@Data
public class OSSConfig {

    @Value("${custom.aliyun.oss.endpoint}")
    private String endpoint;

    @Value("${custom.aliyun.oss.accessKeyId}")
    private String accessKeyId;

    @Value("${custom.aliyun.oss.accessKeySecret}")
    private String accessKeySecret;

    @Value("${custom.aliyun.oss.bucketName}")
    private String bucketName;

    @Value("${custom.aliyun.oss.urlPrefix}")
    private String urlPrefix;

}
